package com.lbj.dao;

import com.lbj.domain.User;

import java.util.List;
import java.util.Map;

public interface UserDao {
    User login(String loginAct, String loginPwd);
    List<User> getUsers();
    int register(User user);
    int deleteUserById(String id);

    User getUserById(String id);

    int modUserById(User user);

    List<User> getUserByCondition(Map<String, String> conditions);
}
